var __extends =
    (this && this.__extends) ||
    (function () {
      var n = function (t, o) {
        return (n =
          Object.setPrototypeOf ||
          ({ __proto__: [] } instanceof Array &&
            function (n, t) {
              n.__proto__ = t;
            }) ||
          function (n, t) {
            for (var o in t)
              Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]);
          })(t, o);
      };
      return function (t, o) {
        function e() {
          this.constructor = t;
        }
        if ("function" != typeof o && null !== o)
          throw new TypeError(
            "Class extends value " + String(o) + " is not a constructor or null"
          );
        n(t, o),
          (t.prototype =
            null === o
              ? Object.create(o)
              : ((e.prototype = o.prototype), new e()));
      };
    })(),
  DPConsignProductView = (function (n) {
    function t() {
      var t = n.call(this) || this;
      return (
        t.btn_consign_back.on(Laya.Event.CLICK, t, t.onConsignBackPreFn),
        t.btn_jishouwupin.on(Laya.Event.CLICK, t, t.onPresentJiShouWuPinView),
        t
      );
    }
    return (
      __extends(t, n),
      (t.prototype.onPresentJiShouWuPinView = function () {}),
      (t.prototype.onConsignBackPreFn = function () {
        this.removeSelf();
      }),
      t
    );
  })(ui.MarketController.DPConsignProductViewUI);
